package com.yyq.adms.kjjd.pojo; //科技鉴定

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BaseEntity;

@Entity
@Table(name = "identifypaper") 
//科技鉴定
public class IdentifyPaper extends BaseEntity  implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 4831627052668690880L;
	private String projectName; //项目名称
	private String skillLevel; //技术水平
	private String finishedDep;//完成单位
	private String majorPerson; //主要研制人员
	private String organization; //组织鉴定单位
	private String judgerNames; //专家评委名单
	private String majorType; //专业类型
	private Date identifyDate; //鉴定日期
	private String remark; //备注
	private String belongPlateFormID; //所属平台ID
	private String sentDep; //报送单位
//	private int isGlobal; //是否全局可视
//	private int isHavePatents; //是否有附件
	private String isEnabled; //是否可用
//	private int sourceID;  //数据来源
	
	/**
	 * 批注
	 */
	private String endorse;
	
	
	/**
	 * 单位名称
	 */
	private String sentDepName;
	
	/**
	 * 所属年份，不需要加入数据库
	 */
	private String belongYear;
	
	public IdentifyPaper() {
		super();
		// TODO Auto-generated constructor stub
	}
	public IdentifyPaper(Date identifyDate, String belongPlateFormID,
			String finishedDep, String isEnabled, String judgerNames,
			String majorPerson, String majorType, String organization,
			String projectName, String remark, 
			String skillLevel) {
		super();
		this.identifyDate = identifyDate;
		this.belongPlateFormID = belongPlateFormID;
		this.finishedDep = finishedDep;
		this.isEnabled = isEnabled;
//		this.isGlobal = isGlobal;
//		this.isHavePatents = isHavePatents;
		this.judgerNames = judgerNames;
		this.majorPerson = majorPerson;
		this.majorType = majorType;
		this.organization = organization;
		this.projectName = projectName;
		this.remark = remark;
//		this.sentDep = sentDep;
		this.skillLevel = skillLevel;
//		this.sourceID = sourceID;
	}
	
	@Column(name="projectname")
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	@Column(name="skilllevel")
	public String getSkillLevel() {
		return skillLevel;
	}
	/*
	 *  <s:if test="skillLevel==1">国内领先</s:if>
    	<s:elseif test="skillLevel==2">国内先进</s:elseif>
    	<s:elseif test="skillLevel==3">国际领先</s:elseif>
    	<s:elseif test="skillLevel==4">国际先进</s:elseif>
    				
	 */
	public void setSkillLevel(String skillLevel) {
		this.skillLevel = skillLevel;
	}
	@Column(name="finisheddep")
	public String getFinishedDep() {
		return finishedDep;
	}
	public void setFinishedDep(String finishedDep) {
		this.finishedDep = finishedDep;
	}
	@Column(name="majorperson")
	public String getMajorPerson() {
		return majorPerson;
	}
	public void setMajorPerson(String majorPerson) {
		this.majorPerson = majorPerson;
	}
	@Column(name="organization")
	public String getOrganization() {
		return organization;
	}
	public void setOrganization(String organization) {
		this.organization = organization;
	}
	@Column(name="judgernames")
	public String getJudgerNames() {
		return judgerNames;
	}
	public void setJudgerNames(String judgerNames) {
		this.judgerNames = judgerNames;
	}
	@Column(name="majortype")
	public String getMajorType() {
		return majorType;
	}
	/*<option value="水工" selected="selected" >水工</option>
	<option value="路桥">路桥</option>
	<option value="公路">公路</option>
	<option value="铁路">铁路</option>
	<option value="建材">建材</option>*/
	public void setMajorType(String majorType) {
		this.majorType = majorType;
	}
	@Column(name="identifydate")
	public Date getIdentifyDate() {
		return identifyDate;
	}
	public void setIdentifyDate(Date identifyDate) {
		this.identifyDate = identifyDate;
	}
	@Column(name="remark")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name="belongplateformid")
	public String getBelongPlateFormID() {
		return belongPlateFormID;
	}
	public void setBelongPlateFormID(String belongPlateFormID) {
		this.belongPlateFormID = belongPlateFormID;
	}
	
	@Column(name="isenabled")
	public String getIsEnabled() {
		return isEnabled;
	}
	public void setIsEnabled(String isEnabled) {
		this.isEnabled = isEnabled;
	}
	
	

	@Transient
	public String getBelongYear() {
		return belongYear;
	}

	public void setBelongYear(String belongYear) {
		this.belongYear = belongYear;
	}

	
	
	@Column(name="endorse")
	public String getEndorse() {
		return endorse;
	}

	public void setEndorse(String endorse) {
		this.endorse = endorse;
	}

	@Column(name="sentdepname")
	public String getSentDepName() {
		return sentDepName;
	}

	public void setSentDepName(String sentDepName) {
		this.sentDepName = sentDepName;
	}
	
	@Transient
	public String getSentDep() {
		return sentDep;
	}
	public void setSentDep(String sentDep) {
		this.sentDep = sentDep;
	}
	

}
